<!--start of search area-->
<div id="searchArea"> 
    <!--LOGO-->
    <div class="clear"></div>
</div>
<div class="login_container">

    <div style="float: left; margin: 30px 0px; padding: 0px 40px; text-align: left; border-right: 1px solid rgb(223, 223, 223); width: 300px;">   

        <?php echo $contactForm->renderFormTag(url_for('user/index'), array('id' => "login_form", 'name' => "login_form"));
        echo $contactForm->renderHiddenFields(); ?>

        <h3>Sign in</h3>
        <div class="input_text_ECECEC">

            <?php echo $contactForm['username']->renderRow(array('value' => "Username", 'autocomplete' => "off", 'id' => "user", 'class' => "username"), "") ?>
            <?php if ($contactForm['username']->hasError()): ?>
                <font color="red">please enter a valid name</font>
            <?php endif; ?>
        </div>
        <div class="input_text_ECECEC">
            <?php echo $contactForm['password']->renderRow(array('size' => "13", 'value' => "Password", 'autocomplete' => "off", 'id' => "pass", 'class' => "passwd"), "") ?>
            <?php if ($contactForm['password']->hasError()): ?>
                <font color="red">please enter a valid email</font>
            <?php endif; ?>
        </div>
        <br/>
        <input type="checkbox" name="remember" value="remember me"/>remember me
        <br/>
        <?php if (isset($contactForm['_recaptcha_form'])): ?>
            <?php echo $contactForm['_recaptcha_form']->render() ?>
        <?php endif; ?>
        <input type="submit" class="signin" value="Sign In" name="submit">
        <div style="margin-top: 12px;" class="submit_section"> <a class="loginLink" href="/forgot.mhtml">Forgot your password?</a> </div>
        <br>
        <input type="hidden" value="/" name="landing_page">
        </form>
    </div>
    <div style="float: left; margin: 30px 0px; padding: 0px 25px; text-align: left; border-left: 1px solid rgb(255, 255, 255); width: 230px;">
        <h3>Not a member?</h3>
        <hr>
        <p><a class="loginLink" href="#">Create a Free Browse Account »</a></p>
        <p><a class="loginLink" href="#">View Plans &amp; Pricing »</a></p>
    </div>
    <div class="clear"></div>
</div>
<!--<br />
<?php //echo $contactForm['username']->render() ?>
<?php //if ($contactForm['username']->hasError()): ?>
    <font color="red">please enter a valid name</font>
<?php //endif; ?>
<br />-->


<!--<br />
<?php // echo $contactForm['password']->render() ?>
<?php //if ($contactForm['password']->hasError()): ?>
    <font color="red">please enter a valid email</font>
<?php //endif; ?>
<br />-->

<!--<br />
<input type="checkbox" name="remember" value="remember me"/>remember me
<br />-->

<?php // if (isset($contactForm['_recaptcha_form'])): ?>
<?php //echo $contactForm['_recaptcha_form']->render() ?>
<?php //endif; ?>

<!--<input type="submit" value="Send" />-->

<!--</form>-->

